package com.example.policymode6;

/**
 * 创建具体策略角色
 * @author zhang
 */
public class UnionPay extends Payment {
    @Override
    public String getName() {
        return "银联支付";
    }
    @Override
    protected double queryBalance(String uid) {
        return 800;
    }
}